package com.qingfeng.basic_lib.event.com.qingfeng.basic_lib.app

import androidx.lifecycle.ViewModelProvider
import com.qingfeng.basic_lib.event.com.qingfeng.basic_lib.basic.ViewModelFactory
import com.qingfeng.basic_lib.event.com.qingfeng.basic_lib.net.ExceptionHandle

interface GlobalConfig {

    fun viewModelFactory(): ViewModelProvider.Factory? = ViewModelFactory.getInstance()

    fun globalExceptionHandle(e: Throwable) = ExceptionHandle.handleException(e)

}